package com.darling.danotebackend.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: Darling达
 * @Date: 2025-02-10 2025-02-10
 * @Description: 古之成大事者，不唯有超世之才，亦唯有坚韧不拔之志也！
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthCheck {
    
    /**
     * 必须有某个角色
     */
    String mustRole() default "";
    
    
}

